﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.wdx.ViewModels
{
    public class View_ResidentFileDetail
    {  
        //居民档案信息
        public int ResidentFiles_Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string ResidentFiles_Name { get; set; }

        /// <summary>
        /// Sex  女false  男true
        /// </summary>
        public string? Sex { get; set; } 

        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string? IdCard { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public string Birthday { get; set; }

        /// <summary>
        /// 家庭地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 婚姻
        /// </summary>
        public string? Marriage { get; set; }

        /// <summary>
        /// 血型
        /// </summary>
        public string? BloodType { get; set; }

        /// <summary>
        /// 参保情况
        /// </summary>
        public string? InsuredSituation { get; set; }

        /// <summary>
        /// 职业
        /// </summary>
        public string? job { get; set; }

        /// <summary>
        /// 文化程度
        /// </summary>
        public string? Education { get; set; }

        /// <summary>
        /// 是否吸烟
        /// </summary>
        public bool? IfSmoke { get; set; } = true;

        /// <summary>
        /// 是否戒烟者
        /// </summary>
        public bool? IfQuitSmoke { get; set; } = true;

        /// <summary>
        /// 是否被动吸烟者
        /// </summary>
        public bool? IfPassiveSmoke { get; set; } = true;

        /// <summary>
        /// 是否饮酒
        /// </summary>
        public bool? IfDrinkWine { get; set; } = true;

        /// <summary>
        /// 是否运动 0:充分  1：中等  2：不足
        /// </summary>
        public int? IfSport { get; set; } = 0;

        /// <summary>
        /// 高血压知晓情况  0:患有高血压   1：血压正常   2：从未测量
        /// </summary>
        public int? Hypertension { get; set; } = 0;

        /// <summary>
        /// 糖尿病知晓情况  0：患有糖尿病  1：血糖正常
        /// </summary>
        public int? Diabetes { get; set; } = 0;

        /// <summary>
        /// 身高
        /// </summary>
        public double? Height { get; set; }

        /// <summary>
        /// 体重
        /// </summary>
        public double? Weight { get; set; }

        /// <summary>
        /// BMI
        /// </summary>
        public double? BMI { get; set; }

        /// <summary>
        /// 腰围
        /// </summary>
        public double? Waistline { get; set; }

        /// <summary>
        /// 收缩压
        /// </summary>
        public double? SystolicPressure { get; set; }

        /// <summary>
        /// 舒张压
        /// </summary>
        public double? SiastolicPressure { get; set; }

        /// <summary>
        ///空腹血糖
        /// </summary>
        public double? FastingBloodGlucose { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUser { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateUser { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        //签约信息1111111111111111111111111111111111111111111111111111111111111111111111
        /// <summary>
        /// 签约团队
        /// </summary>
        public int? Team { get; set; }

        /// <summary>
        /// 签约医生
        /// </summary>
        public int? Doctor { get; set; }

        /// <summary>
        /// 签约状态 0:未签约  1：已签约
        /// </summary>
        public int? Sign_Status { get; set; } = 1;

        /// <summary>
        ///  签约开始时间
        /// </summary>
        public DateTime? Sign_StartTime { get; set; }

        /// <summary>
        ///  签约结束时间
        /// </summary>
        public DateTime? Sign_EndTime { get; set; }

        //以前病史信息11111111111111111111111111111111111111111111111111111111
        public List<MedicalRecords> medicalRecords { get; set; }
    }
}
